﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AppFramework.DinosaursParkMes.TicketTask
{
    public class SendWorkinfoMap : IEntityTypeConfiguration<SendWorkinfo>
    {
        public void Configure(EntityTypeBuilder<SendWorkinfo> builder)
        {
            builder.ToTable("tb_SendWorkinfo");
            builder.Property(m => m.Classprincipal).HasComment("任务负责人").HasColumnType("varchar(50)");
            builder.Property(m => m.Othermembers).HasComment("其他成员").HasColumnType("varchar(50)");
            builder.Property(m => m.Taskremark).HasComment("备注").HasColumnType("varchar(200)");
            builder.Property(m => m.Departmentname).HasComment("质检人员").HasColumnType("varchar(50)");
            builder.Property(m => m.Qualitytestingremark).HasComment("备注").HasColumnType("varchar(200)");
        }
    }
}
